#include <ansi.h>

mapping *quest = ({
        ([
                "id":          "cloth",
                "name":        "淡黄衫",
                "type":        "寻",
                "bonus":       101,
                "msg1":        "",
                "object":      "/d/emei/obj/ycloth.c",
        ]),
        ([
                "id":          "leizhen dang",
                "name":        "雷震挡",
                "type":        "寻",
                "bonus":       101,
                "msg1":        "",
                "object":      "/d/heimuya/npc/obj/leizhendang.c",
        ]),
        ([
                "id":          "xuan tie",
                "name":        "[36m玄铁石[2;37;0m",
                "type":        "寻",
                "bonus":       61,
                "msg1":        "",
                "object":      "/d/item/obj/xuantie.c",
        ]),
        ([
                "id":          "cloth",
                "name":        "熟罗长袍",
                "type":        "寻",
                "bonus":       72,
                "msg1":        "",
                "object":      "/d/henshan/npc/obj/luo_cloth.c",
        ]),
        ([
                "id":          "ming zhu",
                "name":        "明珠",
                "type":        "寻",
                "bonus":       120,
                "msg1":        "",
                "object":      "/d/taohua/obj/mingzhu.c",
        ]),
        ([
                "id":          "buzhen xiang",
                "name":        "布阵箱",
                "type":        "寻",
                "bonus":       120,
                "msg1":        "",
                "object":      "/d/taohua/obj/xiang.c",
        ]),
        ([
                "id":          "zhuxiao",
                "name":        "竹箫",
                "type":        "寻",
                "bonus":       50,
                "msg1":        "",
                "object":      "/d/taohua/obj/zhuxiao.c",
        ]),
        ([
                "id":          "du jing1",
                "name":        "『星宿毒经〖上册〗』",
                "type":        "寻",
                "bonus":       90,
                "msg1":        "",
                "object":      "/clone/book/dujing_1.c",
        ]),
        ([
                "id":          "qingxin san",
                "name":        "清心散",
                "type":        "寻",
                "bonus":       50,
                "msg1":        "",
                "object":      "/d/xingxiu/obj/xxqingxin-san.c",
        ]),
        ([
                "id":          "menghan yao",
                "name":        "蒙汗药",
                "type":        "寻",
                "bonus":       50,
                "msg1":        "",
                "object":      "/d/xingxiu/obj/menghan_yao.c",
        ]),
        ([
                "id":          "mu ding",
                "name":        "木鼎",
                "type":        "寻",
                "bonus":       90,
                "msg1":        "",
                "object":      "/clone/misc/muding.c",
        ]),
        ([
                "id":          "lubo",
                "name":        BLU"颅钵"NOR,
                "type":        "寻",
                "bonus":       90,
                "msg1":        "",
                "object":      "/d/xueshan/obj/lubo.c",
        ]),
        ([
                "id":          "rentou lian",
                "name":        BLU"人头链"NOR,
                "type":        "寻",
                "bonus":       90,
                "msg1":        "",
                "object":      "/d/xueshan/obj/rtlian.c",
        ]),
        ([
                "id":          "kulou guan",
                "name":        BLU"骷髅冠"NOR,
                "type":        "寻",
                "bonus":       90,
                "msg1":        "",
                "object":      "/d/xueshan/obj/klguan.c",
        ]),
        ([
                "id":          "qiankunbook",
                "name":        "羊皮",
                "type":        "寻",
                "bonus":       110,
                "msg1":        "",
                "object":      "/clone/book/qiankun_book.c",
        ]),
        ([
                "id":          "yi xin",
                "name":        "阳教主遗信",
                "type":        "寻",
                "bonus":       110,
                "msg1":        "",
                "object":      "/d/mingjiao/obj/yixin.c",
        ]),
        ([
                "id":          "wuming hua",
                "name":        "无名花",
                "type":        "寻",
                "bonus":       90,
                "msg1":        "",
                "object":      "/d/shenlong/obj/hua2.c",
        ]),
        ([
                "id":          "duanchang hua",
                "name":        "[1;31m断肠花[2;37;0m",
                "type":        "寻",
                "bonus":       90,
                "msg1":        "",
                "object":      "/d/shenlong/obj/hua3.c",
        ]),
        ([
                "id":          "da fu",
                "name":        "大斧",
                "type":        "寻",
                "bonus":       101,
                "msg1":        "",
                "object":      "/d/heimuya/npc/obj/dafu.c",
        ]),
        ([
                "id":          "cloth",
                "name":        "白布长袍",
                "type":        "寻",
                "bonus":       72,
                "msg1":        "",
                "object":      "/d/mingjiao/obj/baipao.c",
        ]),
        ([
                "id":          "hong lian",
                "name":        HIR"小红莲"NOR,
                "type":        "寻",
                "bonus":       80,
                "msg1":        "",
                "object":      "/d/wudang/obj/honglian.c",
        ]),
        ([
                "id":          "muyu",
                "name":        "木鱼锤",
                "type":        "寻",
                "bonus":       72,
                "msg1":        "",
                "object":      "/d/wanjiegu/npc/obj/muyu.c",
        ]),
        ([
                "id":          "shenghuo ling",
                "name":        "[36m圣火令[2;37;0m",
                "type":        "寻",
                "bonus":       84,
                "msg1":        "",
                "object":      "/d/tulong/tulong/obj/ling1.c",
        ]),
        ([
                "id":          "jiasha",
                "name":        "[30m黑色袈裟[2;37;0m",
                "type":        "寻",
                "bonus":       86,
                "msg1":        "",
                "object":      "/d/xueshan/obj/b-jiasha.c",
        ]),
        ([
                "id":          "bosi cloth",
                "name":        "[35m波斯明教教服[2;37;0m",
                "type":        "寻",
                "bonus":       84,
                "msg1":        "",
                "object":      "/d/tulong/yitian/npc/obj/jiaofu.c",
        ]),
        ([
                "id":          "jia sha",
                "name":        "护法袈裟",
                "type":        "寻",
                "bonus":       72,
                "msg1":        "",
                "object":      "/d/shaolin/obj/xuan-cloth.c",
        ]),
        ([
                "id":          "cloth",
                "name":        "[1;33m一品侍卫装[2;37;0m",
                "type":        "寻",
                "bonus":       72,
                "msg1":        "",
                "object":      "/d/beijing/npc/obj/guanfu2.c",
        ]),
        ([
                "id":          "huang magua",
                "name":        "[1;33m黄马褂[2;37;0m",
                "type":        "寻",
                "bonus":       72,
                "msg1":        "",
                "object":      "/d/beijing/npc/obj/goldcloth1.c",
        ]),
        ([
                "id":          "cloth",
                "name":        "[1;34m青布长衫[2;37;0m",
                "type":        "寻",
                "bonus":       95,
                "msg1":        "",
                "object":      "/d/beijing/npc/obj/cloth1.c",
        ]),
});
mapping query_quesths()
{
        int i;
        mapping the_quest,random_quest;
        string *quest_key;

        random_quest = quest[random(sizeof(quest))];
        the_quest = ([]);

        quest_key = keys(random_quest);
        for (i = 0;i < sizeof(quest_key);i++)
                the_quest[quest_key[i]] = random_quest[quest_key[i]];

        return the_quest;
}
